<%-- 
    Document   : logout
    Created on : Mar 28, 2013, 3:54:55 PM
    Author     : Shaun McCready
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
  <meta name="generator" content=
  "HTML Tidy for Linux/x86 (vers 25 March 2009), see www.w3.org" />

  <title>Logout</title>
  <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
  <script type="text/javascript" src=
  "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
  <script type="text/javascript">
//<![CDATA[
  function getParameterByName(name)
  {
  name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
  var regexS = "[\\?&]" + name + "=([^&#]*)";
  var regex = new RegExp(regexS);
  var results = regex.exec(window.location.search);
  if(results == null)
    return "";
  else
    return decodeURIComponent(results[1].replace(/\+/g, " "));
  }
  var itemname = getParameterByName('itemname');
  $(document).ready(function(){
        $('#nav li').hover(function () {
                $(this).find('.dropDown').slideToggle(200);
                $(this).toggleClass('active');
  });

                   $('#itemC').val(itemname);

        });

  //]]>
  </script>
</head>

<body>
  <div class="wrapper">
    <div id="navContainer">
      <ul class="clear" id="nav">
        <li class="first"><a class="active" href="home.jsp">Home</a></li>

        <li>
          <a href="camera.jsp">Products</a>

          <div class="dropDown">
            <div class="top"></div>

            <div class="items">
              <ul>
                <li class="first"><a href="camera.jsp">Cameras</a></li>

                <li><a href="dvd.jsp">DVD Players</a></li>

                <li class="last"><a href="tv.jsp">Televisions</a></li>
              </ul>
            </div>
          </div>
        </li>

        <li><a href="order.jsp">Order</a></li>

        <li><a href="payment.jsp">Payment</a></li>

        <li class="last"><a  class="selected href="logout">Logout</a></li>
      </ul>
    </div>
  </div>

  <div id="mainContent">
    <h2>Successfully Logged out</h2>
    <p style="margin-left:-25px">Thank you for choosing Company X for your electronic goods. We hope you come again!</p>
    <br />
   <p style="margin-left:-25px"> To return to the login page click <br /><br /><a href="login.jsp" id="link">HERE</a> </p>
  </div>

  <div id="footer">
    <center>
 <a href="home.jsp">Home</a> | <a href="camera.jsp">Products</a> | <a href="order.jsp">Order</a> | <a href=
      "payment.jsp">Payment</a> | <a href="logout">Logout</a><br />
      Copyright 2013 by Company X. All Rights Reserved.
    </center>
  </div>
</body>
</html>
